<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>作业1111</title>
	</head>
	<style>
		.body{
			width: 800px;
			height: 200px;
			border: 1px solid red;
			border-width: 2px;
			border-color: #c8c8c8;
			margin-bottom: 20px;
		}
		.hengxian{
			width: 600px;
			border: 1px solid red;
			border-color: #c8c8c8;
			margin: 0 auto;
			margin-top: 40px;
		}
		div a{
			border: 1px solid #ccc;
			padding: 10px;
			margin-left: 10px;
			border-radius: 3px;
			}
		div a.current{/* 加权重 */
			border: 0;
			color: #000;
			text-decoration: none;
			}
	</style>
	<body>
	<div class="body">
		<div class="hengxian"></div>
	</div>
		<div>
		<a href="#" class="current">1</a>
		<a href="#">2</a>
		<a href="#">3</a>
		<a href="#">4</a>
		<a href="#">5</a>
		<a href="#">6</a>
		</div>
	</body>
</html>